<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
	</body>
	<script>
		class Father {
			say() {
				return "Father"
			}
		}
		class Son extends Father {
			say() {
				console.log(super.say()+'son');
				//super.say()调用父类的普通函数
			}
		}
		var son = new Son();
		son.say()
	</script>
</html>
